package com.borened.common.core.enums;

import lombok.Getter;

/**
 * 是否状态  枚举
 *
 * @author: cch
 * @since: 2021/11/30
 */

public enum WhetherEnum {

    YES(1), NO(0);
    /**
     * 状态码
     */
    @Getter
    private int code;

    WhetherEnum(int code) {
        this.code = code;
    }
}
